home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 127 / maccd 127.iso / software / MenuCalendarClock-iCal-1.6.5.dmg / MenuCalendarClock iCal.app / Contents / Resources / IconPrefs.nib / _IconPrefs_EOArchive.java next >
Encoding:
Java Source  |  2005-02-24  |  31.5 KB  |  556 lines

  1. // _IconPrefs_EOArchive.java
  2. // Generated by EnterpriseObjects palette at Freitag, 21. Januar 2005 15:40 Uhr Europe/Berlin
  3.  
  4. import com.webobjects.eoapplication.*;
  5. import com.webobjects.eocontrol.*;
  6. import com.webobjects.eointerface.*;
  7. import com.webobjects.eointerface.swing.*;
  8. import com.webobjects.foundation.*;
  9. import java.awt.*;
  10. import javax.swing.*;
  11. import javax.swing.border.*;
  12. import javax.swing.table.*;
  13. import javax.swing.text.*;
  14.  
  15. public class _IconPrefs_EOArchive extends com.webobjects.eoapplication.EOArchive {
  16.     IBHelpConnector _iBHelpConnector0, _iBHelpConnector1;
  17.     com.webobjects.eointerface.swing.EOFrame _eoFrame0;
  18.     com.webobjects.eointerface.swing.EOImageView _nsImageView0, _nsImageView1, _nsImageView2;
  19.     com.webobjects.eointerface.swing.EOMatrix _nsMatrix0, _nsMatrix1;
  20.     com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4;
  21.     com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsColorWell0, _nsView0, _nsView1;
  22.     javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3;
  23.     javax.swing.JCheckBox _nsButton4, _nsButton5, _nsButton6, _nsButton7;
  24.     javax.swing.JComboBox _popup0, _popup1;
  25.     javax.swing.JPanel _nsView2;
  26.     javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2, _jRadioButton3, _jRadioButton4;
  27.     javax.swing.JTabbedPane _nsTabView0;
  28.  
  29.     public _IconPrefs_EOArchive(Object owner, NSDisposableRegistry registry) {
  30.         super(owner, registry);
  31.     }
  32.  
  33.     protected void _construct() {
  34.         Object owner = _owner();
  35.         EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
  36.         Object replacement;
  37.  
  38.         super._construct();
  39.  
  40.         _nsImageView2 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  41.         _nsImageView1 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  42.         _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  43.         _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  44.         _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  45.         _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  46.         _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  47.         _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
  48.         _nsView1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  49.         _popup1 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton1");
  50.         _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField22");
  51.         _nsView0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "");
  52.         _nsTabView0 = (javax.swing.JTabbedPane)_registered(new javax.swing.JTabbedPane(), "");
  53.         _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
  54.  
  55.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "alternateSeparatorsButton")) != null)) {
  56.             _nsButton7 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  57.             _replacedObjects.setObjectForKey(replacement, "_nsButton7");
  58.         } else {
  59.             _nsButton7 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Alternating/Flashing ':' separators"), "NSButton4");
  60.         }
  61.  
  62.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "showMenuIconTooltipButton")) != null)) {
  63.             _nsButton6 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  64.             _replacedObjects.setObjectForKey(replacement, "_nsButton6");
  65.         } else {
  66.             _nsButton6 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show tooltip for menu icon"), "NSButton111");
  67.         }
  68.  
  69.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontTextField")) != null)) {
  70.             _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  71.             _replacedObjects.setObjectForKey(replacement, "_nsTextField1");
  72.         } else {
  73.             _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
  74.         }
  75.  
  76.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontDefaultButton")) != null)) {
  77.             _nsButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  78.             _replacedObjects.setObjectForKey(replacement, "_nsButton3");
  79.         } else {
  80.             _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Default Setting"), "NSButton1");
  81.         }
  82.  
  83.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontColorWell")) != null)) {
  84.             _nsColorWell0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
  85.             _replacedObjects.setObjectForKey(replacement, "_nsColorWell0");
  86.         } else {
  87.             _nsColorWell0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "2");
  88.         }
  89.  
  90.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "fontButton")) != null)) {
  91.             _nsButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  92.             _replacedObjects.setObjectForKey(replacement, "_nsButton2");
  93.         } else {
  94.             _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Set Font\u2026"), "NSButton2");
  95.         }
  96.  
  97.         _iBHelpConnector1 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
  98.  
  99.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_initialKeyView.nextFocusableComponent.nextFocusableComponent")) != null)) {
  100.             _nsButton5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  101.             _replacedObjects.setObjectForKey(replacement, "_nsButton5");
  102.         } else {
  103.             _nsButton5 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show Clock"), "NSButton41");
  104.         }
  105.  
  106.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "showClockButton.nextFocusableComponent")) != null)) {
  107.             _popup0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
  108.             _replacedObjects.setObjectForKey(replacement, "_popup0");
  109.         } else {
  110.             _popup0 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton");
  111.         }
  112.  
  113.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "clockFormatPopUpButton.nextFocusableComponent")) != null)) {
  114.             _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  115.             _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
  116.         } else {
  117.             _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
  118.         }
  119.  
  120.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "clockFormatTextField.nextFocusableComponent")) != null)) {
  121.             _nsButton1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  122.             _replacedObjects.setObjectForKey(replacement, "_nsButton1");
  123.         } else {
  124.             _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Update"), "NSButton");
  125.         }
  126.  
  127.         _jRadioButton4 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("  Right"), "");
  128.         _jRadioButton3 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("  Left"), "");
  129.  
  130.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "updateNowButton.nextFocusableComponent")) != null)) {
  131.             _nsMatrix1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
  132.             _replacedObjects.setObjectForKey(replacement, "_nsMatrix1");
  133.         } else {
  134.             _nsMatrix1 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(1, 2, 4, 2), "NSMatrix11");
  135.         }
  136.  
  137.         _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
  138.         _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
  139.         _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
  140.  
  141.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_initialKeyView.nextFocusableComponent")) != null)) {
  142.             _nsMatrix0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
  143.             _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
  144.         } else {
  145.             _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(1, 3, 4, 2), "NSMatrix1");
  146.         }
  147.  
  148.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_lastKeyView.nextFocusableComponent")) != null)) {
  149.             _nsButton4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  150.             _replacedObjects.setObjectForKey(replacement, "_nsButton4");
  151.         } else {
  152.             _nsButton4 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Show Calendar Icon"), "NSButton4");
  153.         }
  154.  
  155.         _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
  156.         _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton(""), "NSButton31");
  157.  
  158.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_window")) != null)) {
  159.             _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  160.             _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
  161.         } else {
  162.             _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
  163.         }
  164.  
  165.         _nsView2 = (JPanel)_eoFrame0.getContentPane();
  166.     }
  167.  
  168.     protected void _awaken() {
  169.         super._awaken();
  170.         _popup1.setModel(new javax.swing.DefaultComboBoxModel());
  171.         _popup1.addItem("");
  172.         _popup1.addItem("Cut");
  173.         _popup1.addItem("Copy");
  174.         _popup1.addItem("Paste");
  175.         _popup1.addItem("Delete");
  176.         _popup1.addItem("Select All");
  177.         _nsButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeMenuConfiguration", _nsButton4), ""));
  178.  
  179.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  180.             _connect(_eoFrame0, _owner(), "delegate");
  181.         }
  182.  
  183.         _nsButton7.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton7), ""));
  184.  
  185.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  186.             _connect(_owner(), _nsButton7, "alternateSeparatorsButton");
  187.         }
  188.  
  189.         _nsButton6.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "toggleShowMenuIconTooltip", _nsButton6), ""));
  190.  
  191.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  192.             _connect(_owner(), _nsButton6, "showMenuIconTooltipButton");
  193.         }
  194.  
  195.         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
  196.             _connect(_owner(), _nsTextField1, "fontTextField");
  197.         }
  198.  
  199.         _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "resetClockFontToDefaults", _nsButton3), ""));
  200.  
  201.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  202.             _connect(_owner(), _nsButton3, "fontDefaultButton");
  203.         }
  204.  
  205.         _nsColorWell0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndUpdateStatusItem", _nsColorWell0), ""));
  206.  
  207.         if (_replacedObjects.objectForKey("_nsColorWell0") == null) {
  208.             _connect(_owner(), _nsColorWell0, "fontColorWell");
  209.         }
  210.  
  211.         _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "selectClockFontAction", _nsButton2), ""));
  212.  
  213.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  214.             _connect(_owner(), _nsButton2, "fontButton");
  215.         }
  216.  
  217.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  218.             _connect(_owner(), _nsButton4, "_initialKeyView");
  219.         }
  220.  
  221.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  222.             _connect(_owner(), _nsButton4, "_firstKeyView");
  223.         }
  224.  
  225.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  226.             _connect(_owner(), _nsButton4, "showCalendarIconButton");
  227.         }
  228.  
  229.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  230.             _connect(_owner(), _eoFrame0, "_window");
  231.         }
  232.  
  233.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  234.             _connect(_owner(), _nsTextField0, "clockFormatTextField");
  235.         }
  236.  
  237.         if (_replacedObjects.objectForKey("_popup0") == null) {
  238.             _connect(_owner(), _popup0, "clockFormatPopUpButton");
  239.         }
  240.  
  241.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  242.             _connect(_owner(), _nsButton5, "showClockButton");
  243.         }
  244.  
  245.         _nsButton5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeMenuConfiguration", _nsButton5), ""));
  246.         _popup0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatPopUpAction", _popup0), ""));
  247.  
  248.         if (_replacedObjects.objectForKey("_popup0") == null) {
  249.             _popup0.setModel(new javax.swing.DefaultComboBoxModel());
  250.             _popup0.addItem("Item1");
  251.             _popup0.addItem("Item2");
  252.             _popup0.addItem("Item3");
  253.         }
  254.  
  255.         _nsTextField0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatWasEdited", _nsTextField0), ""));
  256.  
  257.         if (_replacedObjects.objectForKey("_nsButton1") == null) {
  258.             _connect(_owner(), _nsButton1, "updateNowButton");
  259.         }
  260.  
  261.         _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "clockFormatWasEdited", _nsButton1), ""));
  262.  
  263.         if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
  264.             _connect(_owner(), _nsMatrix1, "_lastKeyView");
  265.         }
  266.  
  267.         _jRadioButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndRecreateStatusItem", _jRadioButton3), ""));
  268.         _jRadioButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePrefsAndRecreateStatusItem", _jRadioButton4), ""));
  269.  
  270.         if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
  271.             _connect(_owner(), _nsMatrix1, "positionSelectorMatrix");
  272.         }
  273.  
  274.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  275.             _connect(_owner(), _nsMatrix0, "iconSelectorMatrix");
  276.         }
  277.  
  278.         _jRadioButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton0), ""));
  279.         _jRadioButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton1), ""));
  280.         _jRadioButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "changeIcon", _jRadioButton2), ""));
  281.     }
  282.  
  283.     protected void _init() {
  284.         super._init();
  285.         .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "copy", ), ""));
  286.         .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "cut", ), ""));
  287.         .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "selectAll", ), ""));
  288.         .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "paste", ), ""));
  289.         .addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(null, "delete", ), ""));
  290.         if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); }
  291.         _nsImageView0.setSize(25, 22);
  292.         _nsImageView0.setLocation(157, 8);
  293.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
  294.         _nsBox3.add(_nsImageView0);
  295.         _nsImageView1.setSize(25, 22);
  296.         _nsImageView1.setLocation(258, 9);
  297.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin);
  298.         _nsBox3.add(_nsImageView1);
  299.         _nsImageView2.setSize(25, 22);
  300.         _nsImageView2.setLocation(53, 8);
  301.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsImageView2, EOViewLayout.MinYMargin);
  302.         _nsBox3.add(_nsImageView2);
  303.         _nsMatrix0.setSize(307, 20);
  304.         _nsMatrix0.setLocation(27, 11);
  305.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
  306.         _nsBox3.add(_nsMatrix0);
  307.         if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
  308.         _nsBox3.setSize(343, 44);
  309.         _nsBox3.setLocation(2, 2);
  310.         ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
  311.         _nsBox2.add(_nsBox3);
  312.         _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN));
  313.         if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); }
  314.         _nsMatrix1.setSize(204, 24);
  315.         _nsMatrix1.setLocation(27, 9);
  316.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin);
  317.         _nsBox1.add(_nsMatrix1);
  318.         if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
  319.         _nsBox1.setSize(343, 39);
  320.         _nsBox1.setLocation(2, 2);
  321.         ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
  322.         _nsBox0.add(_nsBox1);
  323.         _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 11, Font.PLAIN));
  324.         _setFontForComponent(_nsTextField4, "Lucida Grande", 11, Font.PLAIN);
  325.         _nsTextField4.setEditable(false);
  326.         _nsTextField4.setOpaque(false);
  327.         _nsTextField4.setText("Click to change the color.");
  328.         _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  329.         _nsTextField4.setSelectable(false);
  330.         _nsTextField4.setEnabled(true);
  331.         _nsTextField4.setBorder(null);
  332.         if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
  333.         _nsTextField4.setSize(130, 28);
  334.         _nsTextField4.setLocation(244, 17);
  335.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
  336.         _nsView1.add(_nsTextField4);
  337.         _nsButton3.setSize(184, 26);
  338.         _nsButton3.setLocation(184, 88);
  339.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin);
  340.         _nsView1.add(_nsButton3);
  341.         _nsColorWell0.setSize(54, 26);
  342.         _nsColorWell0.setLocation(185, 18);
  343.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsColorWell0, EOViewLayout.MinYMargin);
  344.         _nsView1.add(_nsColorWell0);
  345.         _nsButton2.setSize(168, 26);
  346.         _nsButton2.setLocation(7, 18);
  347.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin);
  348.         _nsView1.add(_nsButton2);
  349.         _nsTextField1.setSize(356, 14);
  350.         _nsTextField1.setLocation(6, 56);
  351.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
  352.         _nsView1.add(_nsTextField1);
  353.         _setFontForComponent(_popup1, "Lucida Grande", 13, Font.PLAIN);
  354.         _setFontForComponent(_nsTextField3, "Lucida Grande", 11, Font.PLAIN);
  355.         _nsTextField3.setEditable(false);
  356.         _nsTextField3.setOpaque(false);
  357.         _nsTextField3.setText("Time Format String (Expert Setting):");
  358.         _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  359.         _nsTextField3.setSelectable(false);
  360.         _nsTextField3.setEnabled(true);
  361.         _nsTextField3.setBorder(null);
  362.         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
  363.         _popup0.setSize(294, 26);
  364.         _popup0.setLocation(11, 5);
  365.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin);
  366.         _nsView0.add(_popup0);
  367.         _nsTextField0.setSize(223, 22);
  368.         _nsTextField0.setLocation(10, 52);
  369.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
  370.         _nsView0.add(_nsTextField0);
  371.         _nsButton1.setSize(124, 26);
  372.         _nsButton1.setLocation(242, 51);
  373.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
  374.         _nsView0.add(_nsButton1);
  375.         _nsTextField3.setSize(236, 14);
  376.         _nsTextField3.setLocation(7, 37);
  377.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
  378.         _nsView0.add(_nsTextField3);
  379.         _popup1.setSize(41, 26);
  380.         _popup1.setLocation(322, 5);
  381.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_popup1, EOViewLayout.MinYMargin);
  382.         _nsView0.add(_popup1);
  383.         _nsButton7.setSize(357, 17);
  384.         _nsButton7.setLocation(7, 91);
  385.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin);
  386.         _nsView0.add(_nsButton7);
  387.         _nsTabView0.addTab("Time Format", _nsView0);
  388.         _nsTabView0.addTab("Font & Color", _nsView1);
  389.         _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN);
  390.         _nsTextField2.setEditable(false);
  391.         _nsTextField2.setOpaque(false);
  392.         _nsTextField2.setText("Position");
  393.         _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  394.         _nsTextField2.setSelectable(false);
  395.         _nsTextField2.setEnabled(true);
  396.         _nsTextField2.setBorder(null);
  397.  
  398.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  399.             _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN);
  400.         }
  401.  
  402.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  403.             _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN);
  404.         }
  405.  
  406.         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
  407.             _setFontForComponent(_nsTextField1, "Lucida Grande", 10, Font.PLAIN);
  408.             _nsTextField1.setEditable(false);
  409.             _nsTextField1.setOpaque(false);
  410.             _nsTextField1.setText("Font text");
  411.             _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  412.             _nsTextField1.setSelectable(false);
  413.             _nsTextField1.setEnabled(true);
  414.             _nsTextField1.setBorder(null);
  415.         }
  416.  
  417.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  418.             _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
  419.             _nsButton3.setMargin(new Insets(0, 2, 0, 2));
  420.         }
  421.  
  422.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  423.             _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN);
  424.             _nsButton2.setMargin(new Insets(0, 2, 0, 2));
  425.         }
  426.  
  427.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  428.             _connect(_nsMatrix0, _nsButton5, "nextFocusableComponent");
  429.         }
  430.  
  431.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  432.             _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN);
  433.         }
  434.  
  435.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  436.             _connect(_nsButton5, _popup0, "nextFocusableComponent");
  437.         }
  438.  
  439.         if (_replacedObjects.objectForKey("_popup0") == null) {
  440.             _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN);
  441.         }
  442.  
  443.         if (_replacedObjects.objectForKey("_popup0") == null) {
  444.             _connect(_popup0, _nsTextField0, "nextFocusableComponent");
  445.         }
  446.  
  447.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  448.             _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN);
  449.             _nsTextField0.setEditable(true);
  450.             _nsTextField0.setOpaque(true);
  451.             _nsTextField0.setText("");
  452.             _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  453.             _nsTextField0.setSelectable(true);
  454.             _nsTextField0.setEnabled(true);
  455.         }
  456.  
  457.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  458.             _connect(_nsTextField0, _nsButton1, "nextFocusableComponent");
  459.         }
  460.  
  461.         if (_replacedObjects.objectForKey("_nsButton1") == null) {
  462.             _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
  463.             _nsButton1.setMargin(new Insets(0, 2, 0, 2));
  464.         }
  465.  
  466.         if (_replacedObjects.objectForKey("_nsButton1") == null) {
  467.             _connect(_nsButton1, _nsMatrix1, "nextFocusableComponent");
  468.         }
  469.  
  470.         if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
  471.             _connect(_nsMatrix1, _nsButton4, "nextFocusableComponent");
  472.         }
  473.  
  474.         _setFontForComponent(_jRadioButton4, "Lucida Grande", 13, Font.PLAIN);
  475.         _setFontForComponent(_jRadioButton3, "Lucida Grande", 13, Font.PLAIN);
  476.  
  477.         if (_replacedObjects.objectForKey("_nsMatrix1") == null) {
  478.             _jRadioButton3.setSize(100, 24);
  479.             _jRadioButton3.setLocation(0, 0);
  480.             _nsMatrix1.add(_jRadioButton3);
  481.             _jRadioButton4.setSize(100, 24);
  482.             _jRadioButton4.setLocation(104, 0);
  483.             _nsMatrix1.add(_jRadioButton4);
  484.             _setFontForComponent(_nsMatrix1, "Lucida Grande", 13, Font.PLAIN);
  485.         }
  486.  
  487.         _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN);
  488.         _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN);
  489.         _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN);
  490.  
  491.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  492.             _jRadioButton0.setSize(99, 20);
  493.             _jRadioButton0.setLocation(0, 0);
  494.             _nsMatrix0.add(_jRadioButton0);
  495.             _jRadioButton1.setSize(99, 20);
  496.             _jRadioButton1.setLocation(103, 0);
  497.             _nsMatrix0.add(_jRadioButton1);
  498.             _jRadioButton2.setSize(99, 20);
  499.             _jRadioButton2.setLocation(206, 0);
  500.             _nsMatrix0.add(_jRadioButton2);
  501.             _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
  502.         }
  503.  
  504.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  505.             _connect(_nsButton4, _nsMatrix0, "nextFocusableComponent");
  506.         }
  507.  
  508.         if (_replacedObjects.objectForKey("_nsButton4") == null) {
  509.             _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN);
  510.         }
  511.  
  512.         _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD);
  513.         _nsButton0.setMargin(new Insets(0, 2, 0, 2));
  514.         if (!(_nsView2.getLayout() instanceof EOViewLayout)) { _nsView2.setLayout(new EOViewLayout()); }
  515.         _nsButton0.setSize(21, 24);
  516.         _nsButton0.setLocation(390, 329);
  517.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
  518.         _nsView2.add(_nsButton0);
  519.         _nsButton4.setSize(373, 17);
  520.         _nsButton4.setLocation(11, 186);
  521.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin);
  522.         _nsView2.add(_nsButton4);
  523.         _nsButton5.setSize(402, 17);
  524.         _nsButton5.setLocation(11, 13);
  525.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin);
  526.         _nsView2.add(_nsButton5);
  527.         _nsTextField2.setSize(145, 17);
  528.         _nsTextField2.setLocation(30, 259);
  529.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
  530.         _nsView2.add(_nsTextField2);
  531.         _nsTabView0.setSize(383, 148);
  532.         _nsTabView0.setLocation(30, 30);
  533.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTabView0, EOViewLayout.MinYMargin);
  534.         _nsView2.add(_nsTabView0);
  535.         _nsBox0.setSize(347, 43);
  536.         _nsBox0.setLocation(29, 277);
  537.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
  538.         _nsView2.add(_nsBox0);
  539.         _nsBox2.setSize(347, 48);
  540.         _nsBox2.setLocation(29, 207);
  541.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
  542.         _nsView2.add(_nsBox2);
  543.         _nsButton6.setSize(373, 17);
  544.         _nsButton6.setLocation(11, 332);
  545.         ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin);
  546.         _nsView2.add(_nsButton6);
  547.  
  548.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  549.             _nsView2.setSize(424, 364);
  550.             _eoFrame0.setTitle("Icon");
  551.             _eoFrame0.setLocation(42, 354);
  552.             _eoFrame0.setSize(424, 364);
  553.         }
  554.     }
  555. }
  556.